<?php
//echo "<pre>";
//print_r($customer);
//echo "</pre>";
?>
<ul class="partners">
    <li>
        <a class="floatL" title="" href="javascript:void(0)"><?= image_tag('icons/control/32/my-account.png'); ?></a>
        <div class="pInfo">
            <strong><?= $customer['title'] . " / " . $customer['customer_name'] ?></strong>
            <i></i>	
            <?php foreach ($customer['CustomerActivity'] as $activity): ?>    
                <span class="taskP">Activity: <?= $activity['Activity']['activity_name'] . " (" . $activity['activity_size'] . ")" ?></span><br>
            <?php endforeach; ?>
        </div>
    </li>
    <?php foreach ($customer['Contact'] as $contact): ?>    
        <li>
                  <a class="floatL" title="" href="javascript:void(0)"><?= image_tag('user.png'); ?></a>
            <div class="pInfo">
                <a title="" href="javascript:void(0)"><strong><?= $contact['name'] ?></strong></a>
                <i><?= $contact['position'] ?></i>	
            </div>
        </li>        
    <?php endforeach; ?>

</ul>